package src

import "fmt"

var (
	name   string = "Jay"
	age    int    = 18
	sex    bool   = true
	grades        = map[string]int{
		"数学": 90,
		"历史": 80,
		"地理": 100,
	}
)

func runQuick() {
	fmt.Printf("%s is %d years old.\n", name, age)
}

func printGrades() {
	fmt.Println("成绩表:")
	for subject, score := range grades {
		fmt.Printf("%s: %d\n", subject, score)
	}
}
